#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "ranklist.h"
#include "ui_rank.h"
#include "ui_start.h"
#include "help.h"
#include "settings.h"
#include "ui_help.h"
#include <QSound>
#include <QSoundEffect>
#include <QSqlDatabase>
//#include <QMediaPlayer>
#include <QSqlQuery>
#include<string>
using namespace std;
QT_BEGIN_NAMESPACE
namespace Ui { class game; }
QT_END_NAMESPACE

class game : public QMainWindow
{
    Q_OBJECT

public:
    game(QWidget *parent = nullptr);
    ~game();
    QSound *mcs;
    static int refh;
    string uID;
    QSqlDatabase db;
    QSqlQuery query;
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();

    //void music();

    void on_btn_refresh_clicked();

private:
    Ui::game *ui;
};
#endif // MAINWINDOW_H
